<?php

class Relatorio_ConsultaController extends Zend_Controller_ActionAquiles {

    public function init() {
        parent::init();
        $this->view->title = 'Relatórios.';
    }

    public function indexAction(){
        $this->view->form = new Application_Form_Relatorio_Busca();
    }

    public function listaAction(){
        
        $variaveis = $this->getRequest()->getParams();

        $model = Application_Model_Relatorio::getInstance();
        $result = $model->Lista($variaveis);

        $this->_helper->layout->disableLayout();
        $this->view->assign('result', $result);

    }



}

?>
